import { IElmentRoot } from "../../ADCore/Interfaces/IRole";
import { LayerEnum } from "../../ADCore/Interfaces/IEnum";

export default class EffectBase implements IElmentRoot {
  no: number;
  isDead: boolean;
  spriteBase: any;
  layer: LayerEnum = LayerEnum.effect;

  destroy(dispose?: boolean) {
    this.isDead = true;
    if (dispose) Laya.Tween.clearAll(this.spriteBase);
    this.spriteBase.destroy();
  }
  update() {}
}
